home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
menuts
/
ymu500c.arj
/
MINSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-03-31
|
2KB
|
76 lines
echo off
cls
if NOT '%1' == '' goto GotSubDir
echo
echo ******************************************************************
echo * If you did not specify a subdirectory to run this install *
echo * file, you have two choices... Either hit any key to continue *
echo * and use the default subdirectory C:\MENU-EZX or type CTRL-C *
echo * or CTRL-BREAK to terminate and re-run MINSTALL.BAT. Be sure *
echo * to specify a subdirectory of your choice. That subdirectory *
echo * will then be used by MENU-EZX as the default subdirectory. *
echo ******************************************************************
echo
pause
cls
:GotSubDir
if '%1' == '' a:minstall c:\menu-ezx c:
echo
echo *** Installing Menu-EZX files to %1 ***
if exist %1\*.* goto CheckCom
md %1
echo
echo *** Copying Menu-EZX.com to %1 ***
copy a:menu-ezx.com %1
echo
echo *** Copying Menu-EZX.MNU to %1 ***
copy a:menu-ezx.mnu %1
echo
echo *** Copying Sample.MNU to %1 ***
copy a:sample.mnu %1
echo
echo *** Copying MEZXDOC.EXE to %1 ***
copy a:mezxdoc1.exe %1
copy a:mezxdoc2.exe %1
echo
echo *** Copying M-EZX.BAT to %1 ***
copy a:m-ezx.bat %1
goto TheEnd
:CheckCom
if exist %1\menu-ezx.com goto CheckMenu
echo
echo *** Copying Menu-EZX.COM to %1 ***
copy a:menu-ezx.com %1
:CheckMenu
if exist %1\menu-ezx.mnu goto ChkSample
echo
echo *** Copying Menu-EZX.MNU to %1 ***
copy a:menu-ezx.mnu %1
:ChkSample
if exist %1\sample.mnu goto CheckDoc
echo
echo *** Copying Sample.MNU to %1 ***
copy a:sample.mnu %1
:CheckDoc
if exist %1\mezxdoc1.exe goto CheckBat
echo
echo *** Copying MEZXDOC1.EXE to %1 ***
copy a:mezxdoc1.exe %1
copy a:mezxdoc2.exe %1
:CheckBat
if exist %1\m-ezx.bat goto TheEnd
echo
echo *** Copying M-EZX.BAT to %1 ***
copy a:m-ezx.bat %1
:TheEnd
echo
echo **************************************************************************
echo * Installation completed (vYMU500c). To run Menu-EZX, type
echo * M-EZX /p=%1 and depress the [ENTER] key.
echo **************************************************************************
echo
pause
%2
cd %1
rem cls
exit